package com.uplooking.dao;

import com.uplooking.pojo.NewsVO;
import com.uplooking.pojo.NewsVOExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface NewsMapper {
    long countByExample(NewsVOExample example);

    int deleteByExample(NewsVOExample example);

    int deleteByPrimaryKey(Integer nsid);

    int insert(NewsVO record);

    int insertSelective(NewsVO record);

    List<NewsVO> selectByExample(NewsVOExample example);

    NewsVO selectByPrimaryKey(Integer nsid);

    int updateByExampleSelective(@Param("record") NewsVO record, @Param("example") NewsVOExample example);

    int updateByExample(@Param("record") NewsVO record, @Param("example") NewsVOExample example);

    int updateByPrimaryKeySelective(NewsVO record);

    int updateByPrimaryKey(NewsVO record);
}